package com.hsyt.pms.api.dto.system;

import com.alibaba.fastjson.JSON;
import com.hsyt.pms.api.entity.system.SysFunction;
import org.apache.commons.lang3.builder.ToStringBuilder;

import java.util.List;

/**
 * @Description: TODO
 * @author wangze@hsyuntai.com
 * @date 2019年2月12日 下午2:45:51
 */
public class SysFunctionDto extends SysFunction {

    private static final long serialVersionUID = 1L;

    private String            begintimeStr;
    private String            endtimeStr;

    private Integer           pageSize;
    private String            columns;
    private Integer           startIndex;

    private List<SysFunction> childMenus;

    private Integer pageNumber;//第几页
    private Long offset = 0L;
    private String order;
    private String sort;

    public Integer getPageNumber() {
        return pageNumber;
    }

    public void setPageNumber(Integer pageNumber) {
        this.pageNumber = pageNumber;
    }

    public Long getOffset() {
        return offset;
    }

    public void setOffset(Long offset) {
        this.offset = offset;
    }

    public String getOrder() {
        return order;
    }

    public void setOrder(String order) {
        this.order = order;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public List<SysFunction> getChildMenus() {
        return childMenus;
    }

    public void setChildMenus(List<SysFunction> childMenus) {
        this.childMenus = childMenus;
    }

    public String getBegintimeStr() {
        return begintimeStr;
    }

    public void setBegintimeStr(String begintimeStr) {
        this.begintimeStr = begintimeStr;
    }

    public String getEndtimeStr() {
        return endtimeStr;
    }

    public void setEndtimeStr(String endtimeStr) {
        this.endtimeStr = endtimeStr;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public String getColumns() {
        return columns;
    }

    public void setColumns(String columns) {
        this.columns = columns;
    }

    public Integer getStartIndex() {
        return startIndex;
    }

    public void setStartIndex(Integer startIndex) {
        this.startIndex = startIndex;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this)
                .append("pageSize", pageSize)
                .append("pageNumber", pageNumber)
                .toString();
    }
}
